<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        body {
            background-color: #000;
        }
        .box {
            width: 1000px;
            height: 250px;
            margin: 100px auto;
            border: 1px solid rgba(225,225,225,.3);
            font-size: 100px;
            line-height: 250px;
            text-align: center;
            font-weight: 700;
        }
        .box {
            color: rgba(225,225,225,.3);
            background: linear-gradient(to right top,transparent 35%,#fff 45%,#fff 55%,transparent 65%);
            background-size: 200px 100%;
            background-repeat: no-repeat;
            -webkit-background-clip: text;
            background-clip: text;
            background-position: -200px 0;
            animation: bg-move 5s infinite;
        }
        @keyframes bg-move {
            0% {
                background-position: -200px 0;
            }
            100% {
                background-position: 1000px 0;
            }
        }
    </style>
</head>
<body>
    <div class="box">沉迷学习，无法自拔</div>
</body>
</html>

